package com.lv.dhart.api.bean;;

import java.util.List;

public class SynthesisdataBean {

    /**
     * code : 0
     * message :
     * data : {"synthesis_id":4,"name":"合成活动测试2","image_url":"https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/107986364208910336.jpg","introduce":"<p>1122333<\/p>","target_spu_name":"游戏数藏火厉","target_spu_image":"https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/107961788296990720.jpg","target_spu_id":26,"issue_amount":10000,"synthesis_amount":1,"start_at":"2022-08-22 18:05:12","end_at":"2022-08-31 00:00:00","materials":[{"id":25,"spu_name":"人世间 \u2014 测试2","spu_image":"https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/106886185523220480.jpg","required_num":1,"spu_num":0,"spu_codes":null},{"id":27,"spu_name":"37洋葱偷","spu_image":"https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/107983121961586688.jpg","required_num":4,"spu_num":0,"spu_codes":null}]}
     */

    private int code;
    private String message;
    /**
     * synthesis_id : 4
     * name : 合成活动测试2
     * image_url : https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/107986364208910336.jpg
     * introduce : <p>1122333</p>
     * target_spu_name : 游戏数藏火厉
     * target_spu_image : https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/107961788296990720.jpg
     * target_spu_id : 26
     * issue_amount : 10000
     * synthesis_amount : 1
     * start_at : 2022-08-22 18:05:12
     * end_at : 2022-08-31 00:00:00
     * materials : [{"id":25,"spu_name":"人世间 \u2014 测试2","spu_image":"https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/106886185523220480.jpg","required_num":1,"spu_num":0,"spu_codes":null},{"id":27,"spu_name":"37洋葱偷","spu_image":"https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/107983121961586688.jpg","required_num":4,"spu_num":0,"spu_codes":null}]
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int synthesis_id;
        private String name;
        private String image_url;
        private String introduce;
        private String target_spu_name;
        private String target_spu_image;
        private int target_spu_id;
        private int issue_amount;
        private int synthesis_amount;
        private String start_at;
        private String end_at;
        /**
         * id : 25
         * spu_name : 人世间 — 测试2
         * spu_image : https://unicorn-nft.oss-cn-huhehaote.aliyuncs.com/106886185523220480.jpg
         * required_num : 1
         * spu_num : 0
         * spu_codes : null
         */

        private List<MaterialsBean> materials;

        public int getSynthesis_id() {
            return synthesis_id;
        }

        public void setSynthesis_id(int synthesis_id) {
            this.synthesis_id = synthesis_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImage_url() {
            return image_url;
        }

        public void setImage_url(String image_url) {
            this.image_url = image_url;
        }

        public String getIntroduce() {
            return introduce;
        }

        public void setIntroduce(String introduce) {
            this.introduce = introduce;
        }

        public String getTarget_spu_name() {
            return target_spu_name;
        }

        public void setTarget_spu_name(String target_spu_name) {
            this.target_spu_name = target_spu_name;
        }

        public String getTarget_spu_image() {
            return target_spu_image;
        }

        public void setTarget_spu_image(String target_spu_image) {
            this.target_spu_image = target_spu_image;
        }

        public int getTarget_spu_id() {
            return target_spu_id;
        }

        public void setTarget_spu_id(int target_spu_id) {
            this.target_spu_id = target_spu_id;
        }

        public int getIssue_amount() {
            return issue_amount;
        }

        public void setIssue_amount(int issue_amount) {
            this.issue_amount = issue_amount;
        }

        public int getSynthesis_amount() {
            return synthesis_amount;
        }

        public void setSynthesis_amount(int synthesis_amount) {
            this.synthesis_amount = synthesis_amount;
        }

        public String getStart_at() {
            return start_at;
        }

        public void setStart_at(String start_at) {
            this.start_at = start_at;
        }

        public String getEnd_at() {
            return end_at;
        }

        public void setEnd_at(String end_at) {
            this.end_at = end_at;
        }

        public List<MaterialsBean> getMaterials() {
            return materials;
        }

        public void setMaterials(List<MaterialsBean> materials) {
            this.materials = materials;
        }

        public static class MaterialsBean {
            private int id;
            private String spu_name;
            private String spu_image;
            private int required_num;
            private int spu_num;
            private Object spu_codes;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getSpu_name() {
                return spu_name;
            }

            public void setSpu_name(String spu_name) {
                this.spu_name = spu_name;
            }

            public String getSpu_image() {
                return spu_image;
            }

            public void setSpu_image(String spu_image) {
                this.spu_image = spu_image;
            }

            public int getRequired_num() {
                return required_num;
            }

            public void setRequired_num(int required_num) {
                this.required_num = required_num;
            }

            public int getSpu_num() {
                return spu_num;
            }

            public void setSpu_num(int spu_num) {
                this.spu_num = spu_num;
            }

            public Object getSpu_codes() {
                return spu_codes;
            }

            public void setSpu_codes(Object spu_codes) {
                this.spu_codes = spu_codes;
            }
        }
    }
}
